package org.hxyjs.dao;

import org.hxyjs.entity.Bookmaker;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface BookmakerDao {

    public List<Bookmaker> getBookmakerByPage(PageInfo pageInfo) throws Exception;

    public List<Bookmaker> getAllBookmakers() throws Exception;


    public Bookmaker getBookmakerByBno(String bno) throws Exception;

    //增删改的返回值都是整数
    Integer deleteBookmakerByBno(String bno) throws Exception;

    Integer updateBookmakerByBno(Bookmaker bookmaker) throws Exception;

    Integer addBookmaker(Bookmaker bookmaker) throws Exception;

    //    Bookmaker getBookmakerByBno(String bno) throws Exception;
//    Bookmaker selectBookmakerWithorderAndUser(String bno) throws Exception;
}